'''
Author: SlytherinGe
LastEditTime: 2021-08-15 16:08:20
'''


import cv2

img = cv2.imread('/home/gejunyao/Nutstore Files/我的坚果云/重要文件/证件照/蓝底一寸.jpg')

img = cv2.resize(img, (480, 640))

cv2.imwrite('/home/gejunyao/桌面/pic.jpg', img,[cv2.IMWRITE_JPEG_QUALITY,80])